package org.dromara.business.controller;

import jakarta.servlet.http.HttpServletRequest;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.dromara.business.request.TransactionLogRequest;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Slf4j
@RequiredArgsConstructor
@RestController
@RequestMapping("/transaction-notify")
public class WebHookController {

    public ResponseEntity notify(TransactionLogRequest request) {
        log.info("WebHookController request: {}", request);
        return ResponseEntity.ok().build();
    }
}
